package com.luoxue.execsql.rest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luoxue.execsql.rest.entity.CommonValidator;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface CommonValidatorMapper extends BaseMapper<CommonValidator> {
    int deleteByPrimaryKey(Integer id);

    int insert(CommonValidator record);

    int insertSelective(CommonValidator record);

    CommonValidator selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CommonValidator record);

    int updateByPrimaryKey(CommonValidator record);

    List<CommonValidator> selectByRegexTypes(Set<String> regexTypes);
}
